import {
	defineStore
} from 'pinia';

export const useUserStore = defineStore('user', {
	state: () => {
		return {
			age: 18,
		};
	},
	getters: {
		getAgeState(state) {
			return state.age;
		},
	},
	actions: {
		setAgeState(data) {
			this.age = data;
		},
	},
});